package com.macro.mall.dao.ums;


import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.ums.UmsPermissionDO;
import com.macro.mall.model.ums.UmsPermissionQuery;
import org.apache.ibatis.annotations.Param;

public interface UmsPermissionMapper extends BaseMapper<UmsPermissionDO> {
    long countByExample(UmsPermissionQuery example);

    int deleteByExample(UmsPermissionQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(UmsPermissionDO record);

    int insertSelective(UmsPermissionDO record);

    List<UmsPermissionDO> selectByExample(UmsPermissionQuery example);

    UmsPermissionDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UmsPermissionDO record, @Param("example") UmsPermissionQuery example);

    int updateByExample(@Param("record") UmsPermissionDO record, @Param("example") UmsPermissionQuery example);

    int updateByPrimaryKeySelective(UmsPermissionDO record);

    int updateByPrimaryKey(UmsPermissionDO record);
}
